import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userRole: "" // 新增用户角色字段
  },
  mutations: {
    setUserRole(state, role) {
      state.userRole = role;
    }
  },
  actions: {
  },
  modules: {
  }
})
